<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %>

<t:panelGrid width="100%">
	<h:graphicImage url="/image/logo.gif" width="100%" height="100"></h:graphicImage>
</t:panelGrid>


<t:panelGrid columns="5" bgcolor="f8f8ff" width="70%">
	<t:column style="align:left">
			<h:outputLink value="/#{menuBean.reqContextPath}/secure/portal/superAdmin/portal.jsf" styleClass="menuText_Label">
			  <h:outputText value="#{messages['home']}" styleClass="menuText_Label" />
			</h:outputLink>
	</t:column>

    <t:column style="align:left">
	    <rich:dropDownMenu  value="#{messages['security.menu']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['user.mgmt.menu']}" styleClass="menuText_Label" immediate="true"  action="#{userMgmtBean.navListAction}"  />
				<rich:menuItem value="#{messages['chg.pwd.menu']}" styleClass="menuText_Label" immediate="true"  action="#{userMgmtBean.navChangeUserPwdAction}" actionListener="#{userMgmtBean.navChangeUserPwdActionEvent}" />
		</rich:dropDownMenu>
    </t:column>

    <t:column style="align:left">
	    <rich:dropDownMenu value="#{messages['master.setup']}" styleClass="menuText_Label">
			   <rich:menuItem value="#{messages['country.menu']}" styleClass="menuText_Label" immediate="true"  action="#{menuBean.navCountryAction}" />
			   <rich:menuItem value="#{messages['state.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navStateAction}" />
			   <rich:menuItem value="#{messages['salutation.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navSalutationAction}" />
			   <rich:menuItem value="#{messages['race.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navRaceAction}" />
			   <rich:menuItem value="#{messages['territory.menu']}" styleClass="menuText_Label" immediate="true" action="#{menuBean.navTerritoryAction}"></rich:menuItem>
			   <rich:menuItem value="#{messages['document.control.menu']}" immediate="true" action="#{menuBean.navDocControlAction}" ></rich:menuItem>
			   <rich:menuItem value="#{messages['remark.menu']}" immediate="true" action="#{remarkBean.initRemarkAction}" ></rich:menuItem>  
			   <rich:menuItem value="#{messages['nationality']}" immediate="true" action="#{nationalityBean.initListAction}" actionListener="#{nationalityBean.initListActionEvent}" ></rich:menuItem>   	    	
		</rich:dropDownMenu>
	</t:column>

 	<t:column style="align:left">
	    <rich:dropDownMenu  value="#{messages['terminate.module.menu']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['terminate.log.menu']}" styleClass="menuText_Label" immediate="true"  action="#{menuBean.navTerminateLogListAction}"  />
		</rich:dropDownMenu>
    </t:column>

	<t:column style="align:left">
		<h:outputLink value="/#{menuBean.reqContextPath}/j_acegi_logout" styleClass="menuText_Label">
		  <h:outputText value="#{messages['logout']}" styleClass="menuText_Label" />
		</h:outputLink>
	</t:column>
</t:panelGrid>


